package com.buddy.common.spring.zk.interfaces.impl;


import com.buddy.common.spring.zk.interfaces.ZNode;
import com.buddy.common.spring.zk.interfaces.ZkBatchWatchDataHandler;
import org.apache.zookeeper.ZooKeeper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Collection;
import java.util.List;
import java.util.Map;

@Component
public class ZkNodeDataHandler implements ZkBatchWatchDataHandler<ZNode> {
    @Autowired
    private ZooKeeper zk;

    @Override
    public int batchAdd(Collection<ZNode> collections, boolean watch) {

        return 0;
    }

    @Override
    public int batchDelete(Collection<ZNode> collections, boolean watch) {
        return 0;
    }

    @Override
    public int batchUpdate(Collection<ZNode> collections, boolean watch) {
        return 0;
    }

    @Override
    public int batchAdd(Collection<ZNode> collections) {
        return 0;
    }

    @Override
    public int batchDelete(Collection<ZNode> collections) {
        return 0;
    }

    @Override
    public int batchUpdate(Collection<ZNode> collections) {
        return 0;
    }

    @Override
    public int add(ZNode node, boolean watch) {
        return 0;
    }

    @Override
    public int delete(ZNode node, boolean watch) {
        return 0;
    }

    @Override
    public int update(ZNode node, boolean watch) {
        return 0;
    }

    @Override
    public boolean exist(ZNode node, boolean watch) {
        return false;
    }

    @Override
    public List select(Map params) {
        return null;
    }

    @Override
    public ZNode selectSingle(ZNode node) {
        return null;
    }

    @Override
    public int add(ZNode node) {
        return 0;
    }

    @Override
    public int delele(ZNode node) {
        return 0;
    }

    @Override
    public int update(ZNode node) {
        return 0;
    }

    @Override
    public Boolean exist(ZNode node) {

        return null;
    }
}
